<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://mamsy.ru/" />
<title>call_body_action</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">call_body_action</td></tr>
</thead><tbody>
<tr>
	<td></td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>open</td>
	<td>/call/sale</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='content']/table/tbody/tr/td[3]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=button.kd-button.kd-button-red</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=search_clause</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Управление списком</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=все</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Заказы в акции</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Склад</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Косяк</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.ui-slider-range.ui-widget-header</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//tbody[@id='content_sales']/tr[2]/td[2]/a</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//tbody[@id='content_sales']/tr[2]/td[2]/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>name=comments</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=invoiceNumber</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=sendInvoceData</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Показать статистику</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Показать статистику</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>name=status_id</td>
	<td>label=Не получено</td>
</tr>
<tr>
	<td>type</td>
	<td>name=comments</td>
	<td>rr</td>
</tr>
<tr>
	<td>click</td>
	<td>css=input[type=&quot;submit&quot;]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=invoiceNumber</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=sendInvoceData</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=invoiceNumber</td>
	<td>tt</td>
</tr>
<tr>
	<td>click</td>
	<td>id=sendInvoceData</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=invoiceDate</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=#order-box &gt; div &gt; table &gt; tbody &gt; tr &gt; td</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
